@charset "utf-8";
/* CSS Document */

/* Common Styles */
body {
	background-color:#ece8e5;
	color:#000305;
	font-size:87.5%; /* Base font size is 14px */
	font-family:Arial, Helvetica, sans-serif;
	line-height:1.5;
	text-align:left;
}
* {
	margin:0px;
	padding:0px;
}
img {
	border:0px;
}
a {
	text-decoration:none;
}
.clear {
	clear:both;
}
.clearfix:before, .clearfix:after {  
	content: " ";  
	display: table;  
}  
.clearfix:after {  
	clear: both;  
}  
.clearfix {  
	*zoom: 1;  
}  

/* Make HTML 5 elements display block-level for consistent styling */  

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}

.container {
	width:1000px;
	margin:0 auto;
	padding:0;
}
.res-table {
	margin:5px 0px 20px;
}
table {
	width:100%;
	border-collapse:collapse;
}
/* Zebra striping */
tr:nth-of-type(odd) { 
	background:#bbb; 
}
tr:nth-of-type(even) { 
	background:#A4714F; 
}
th { 
	background:#5E5E5E; 
	color: white; 
	font-weight: bold; 
}
td, th {
	padding:10px;
	border:solid 1px #999;
	text-align:left;
}

@media screen and (max-width:1000px) {
	div {
		border:solid 1px red;
	}	
	.container {
		width:auto;
		margin:0px 10px;
	}	
}
@media screen and (max-width:760px) {
	div {
		border:solid 1px #FFF;
	}	
	table, thead, tbody, th, td, tr { 
		display:block; 
	}
	thead tr { 
		position:absolute;
		top:-9999px;
		left:-9999px;
	}
	tr {
		border:1px solid #ccc;
	}
	td { 
		/* Behave  like a "row" */
		border:none;
		border-bottom:1px solid #eee; 
		position:relative;
		padding-left:50%; 
	}
	td:before { 
		/* Now like a table header */
		position:absolute;
		/* Top/left values mimic padding */
		top:6px;
		left:6px;
		width:45%; 
		padding-right:10px; 
		white-space:nowrap;
	}
	td:nth-of-type(1):before { content: "Player Name"; }
	td:nth-of-type(2):before { content: "Debut"; }
	td:nth-of-type(3):before { content: "Total Matches"; }
	td:nth-of-type(4):before { content: "Tests"; }
	td:nth-of-type(5):before { content: "ODIs"; }
	td:nth-of-type(6):before { content: "Catches"; }
	td:nth-of-type(7):before { content: "Centuries"; }
	td:nth-of-type(8):before { content: "Wickets"; }
}
@media screen and (max-width:640px) {
	div {
		border:solid 1px blue;
	}	
}
@media screen and (max-width:340px) and (max-width:480px) {
	div {
		border:solid 1px green;
	}
}
